Skip to main content

This post was split from the topic: 

Thank you, I’ll do that.  I tried building a different version of this using Claude instead of GPT, and it works in testing but then when I take it live and test it I get a new error: invalid json response body at https://relay.zapier.com/api.anthropic.com/v1/messages reason: Unexpected token < in JSON at position 0

 

So now I have apparently two separate issues to work out.  

Hi @johnphotog 👋

Hope you don’t mind but I’ve moved your post out into it’s own topic so these errors with Anthropic can be addressed separately. 

I did some digging on this end for similar reports of that error and found a case where it was caused by hitting Anthropic's size limits. Specifically in that case our Support team were able to see the “413 Request Entity Too Large” in the full error logs. Though it wasn’t 100% clear if this was due to the file or with the size of the request being made to Anthropic's API. 
 
Given that the files that you’re attempting to send over to Anthropic are under 10 MB, I suspect this is more likely either an issue with the set up of the Anthropic action or potentially a bug. I can see you’ve already reached out to our Support team about this and they’re assisting you in troubleshooting this which is perfect - they have access to the error logs which will hopefully offer some further insight into the exact cause of the error. 

Please do keep us updated on how you get on with them, keen to ensure you’re this gets sorted! 🙂


Reply