Skip to main content
Best answer

Error: image is incompatible with nvarchar(max)

  • April 7, 2025
  • 4 replies
  • 67 views

Forum|alt.badge.img

Error has just start to occur the last couple of weeks. We have a fairly basic application form in Formidable Form and Zapier seems to think its an image datatype when it should be an nvarchar. 

 

This is the error:

The app returned "(pyodbc.DataError) ('22018', '[22018] [FreeTDS][SQL Server]Operand type clash: image is incompatible with nvarchar(max) (206) (SQLParamData)')".

 

Any ideas?
 

Best answer by Ian Davies

Sounds like it was an issue Zapier end and it seems to be fixed now. 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

  • New
  • 1 reply
  • April 7, 2025

Hi!

 

Were you able to find a solution to this?

 

Having the same issue


Forum|alt.badge.img+2
  • Beginner
  • 58 replies
  • April 7, 2025

It looks like the error is happening because Zapier is trying to send a file (like an image) into a text field in your database. Usually, this happens when a file upload field is used in a form, and Zapier sends the file itself instead of just the URL or filename.

To fix it, check your Zap and make sure you're passing plain text (like a file URL) into your SQL field—not the file or image object. You might need to adjust the field mapping in your Zap or use a formatter step to extract just the text you need.

Let me know if that helps or if you want me to take a quick look!


Forum|alt.badge.img
  • Author
  • New
  • 1 reply
  • Answer
  • April 7, 2025

Sounds like it was an issue Zapier end and it seems to be fixed now. 


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 3527 replies
  • April 8, 2025

Hi ​@Ian Davies,

 

Thank you for confirming that the issue is already resolved. This will help our members with the same issue.