Skip to main content
Question

Error once I update the Customer Credit Limit

  • February 2, 2021
  • 5 replies
  • 93 views

Forum|alt.badge.img

Error when I update the Customer Credit Limit

 

Request:
PUT https://{Base_URL}/Customer?$select=CreditVerificationRules&$filter=CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'

 


Response: {"message":"An error has occurred.","exceptionMessage":"Syntax error: character '%' is not valid at position 10 in 'CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'

Team, could you help me with this error?
What I should do to eliminate the error?

5 replies

Forum|alt.badge.img+12
  • Acumatica Support Team
  • February 2, 2021

Hi @Andrew1986 

Can you clarify the following :

  • are you updating the credit limit from the UI (AR303000?)
  • are there any customizations on the screen, if yes, do unpublish customization and try again 
  • version and build of Acumatica your instance is on

Regards,


Forum|alt.badge.img
  • Author
  • Freshman I
  • February 2, 2021

No, update the Credit Limit using API.

Request:
PUT https://{Base_URL}/Customer?$select=CreditVerificationRules&$filter=CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'

{
"CreditVerificationRules": {
"CreditLimit": {
"value": 1234.0
}
}
}


Forum|alt.badge.img
  • Author
  • Freshman I
  • February 2, 2021

But I receive the following error:
Response:


{"message":"An error has occurred.","exceptionMessage":"Syntax error: character '%' is not valid at position 10 in 'CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'


Forum|alt.badge.img
  • Author
  • Freshman I
  • February 2, 2021

In this example

https://help-2020r1.acumatica.com/(W(5))/Help?ScreenId=ShowWiki&pageid=af48c02a-afbc-4fdb-b1e5-635ac7ebbaf1

is recommended use the same approach -
PUT ?$filter=MainContact/Email%20eq%20'demo@gmail.com'&


Forum|alt.badge.img
  • Author
  • Freshman I
  • February 2, 2021

How I should rectify the request to eliminate error?