Jump to content

Recommended Posts

I'm getting an error message when trying to add a purchase invoice. Is there a list available of these messages and what they mean?

I don't mean the response codes (201 etc), I mean the actual specific messages that are returned if an api call is rejected.

The message I'm getting is "Saving Purchase Invoice failed: value of contact was not allowed".

Cheers

Reg

Link to post
Share on other sites
  • Administrators

Hi Reginald,

I will do some checking to see if this is something a) we have and b) we can publish - as it would be really helpful to have further detail on these error messages and even recommendations on how to fix them available. 

I'll update this post with more if I have anything to share.

 

Ben

Link to post
Share on other sites

Thanks Ben. I remembered reading about certain system-generated customers and suppliers, HMRC repayment for example. I used this supplier in my application as a supplier when generating test data. It dawned on me that posting to these suppliers might be disallowed, and that's what it was. I've now excluded contacts with system = true from use in my application.

Cheers

Reg

  • Like 1
Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...