Cant add headers to custom tools
# support
j
adding any headers to custom tools thru the dashboard gives 'Headers must be a
object
type, but the final value was:
[ { "key": "\"\"", "type": "\"string\"", "value": "\"\"" } ]
.' SS attached https://cdn.discordapp.com/attachments/1315618253745422388/1315618254101942313/image.png?ex=6758107a&is=6756befa&hm=8ea59566597d881278926472e70538fdd3b9506c94f609bf4ede4261ee91993e&
v
@Juicifer It seems like there might be an issue with the format in which the headers are being entered in the dashboard. Headers should indeed be provided as an object with key-value pairs. If you're seeing an error message that suggests the headers are being passed as an array, it's possible that the input format is incorrect. To resolve this, please ensure that you're entering the headers in the correct object format. For example, if you're trying to add a header with a key of "Content-Type" and a value of "application/json", it should be entered as:
Copy code
json
{
  "Content-Type": "application/json"
}
Make sure that you're not wrapping the headers in an array and that you're using double quotes for both keys and values as per JSON standards. If you're still encountering issues after checking the format, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
j
Iam using your dashboard, nothing I can do there that lets me add headers right now
@User
@Shubham Bajaj
j
same issue here
j
@Shubham Bajaj @User
s
@Juicifer @JP reported to the team, I will update you once resolved.
4 Views