MigM
BuildShip2y 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. 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.
Was this page helpful?