Symptom
Getting 500 Internal Server error when trying to use patch method with https://CPQ TENANT URL/api/custom-table/v1/customTables/CUSTOM TABLE NAME/entries
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
Use API https://CPQ TENANT URL/api/custom-table/v1/customTables/CUSTOM TABLE NAME/entries to update custom table entries.
Cause
Incorrect authorization token is used in API Call.
Used Authorization Type as bearer token which is 5-6 lines.
Resolution
Kindly use authorization type as JWT token which is 2-3 lines.
For Custom Table APIS we need to use JWT Bearer token authorization which is also explained in Custom Table API.
The process of generating the JWT token and using it on Custom Table API call is explained in below help article:
Keywords
Custom Table, API, Call, Patch, Authorization, Bearer, JWT, Token , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem