BuildShipBBuildShip
Powered by
MigM
BuildShip•2y ago•
11 replies
Mig

unexpected token

i keep getting the message below when i try to run an API node with a fairly large body, could this be due to a size limit being reached? how can i fix this


"message": "An error occurred while fetching: SyntaxError: Unexpected token 'r', "request en"... is not valid JSON"
Solution
@Mig, If you check the logs of the test execution, by opening the nested error logs, it is showing this error -
Number of request tokens has exceeded your per-minute rate limit (https://docs.anthropic.com/en/api/rate-limits); see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase.
Number of request tokens has exceeded your per-minute rate limit (https://docs.anthropic.com/en/api/rate-limits); see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase.
at Fill in Nodes and Edges output, due to which input values for the Input User Variables to nodes. Hope this helps, you'll require to reduce the prompt size.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Unexpected token '<', "<html> <h"... is not valid JSON error
safir.aliSsafir.ali / ❓・buildship-help
14mo ago
Unexpected token 'W', "Workflow n"... is not valid JSON
ThomasTThomas / ❓・buildship-help
15mo ago
Unexpected token 'W', "Workflow n"... is not valid JSON
jakJjak / ❓・buildship-help
16mo ago
Unexpected token 'W', "Workflow n"... is not valid JSON
olipoligoOolipoligo / ❓・buildship-help
2y ago