Workfront Fusion Custom API Call module 422 error
Learn how to resolve the 422 error ([ 422] Invalid Parameter: updates value “undefined, JSON parsing error…”) that occurs when trying to use a Workfront Custom API Call module with a PUT, DELETE, or POST action.
Description description
Environment
- Workfront Fusion
Issue/Symptoms
You get a 422 error ([ 422] Invalid Parameter: updates value “undefined, JSON parsing error…”) when trying to use a Workfront Custom API Call module with a PUT, DELETE, or POST action.
Resolution resolution
Follow these steps to resolve the issue:
- Open the Custom API Call module that is giving the 422 error.
- Delete the Content-Type header.
- Click the Map Toggle in the header.
- Save the module.
Cause
This error is typically caused by the Custom API Call module being configured to use Query Parameters instead of the Body to pass information. However, the module is configured as a default to have a Body. Deleting the Content-Type header and toggling the Map Toggle header will resolve this issue.
Related Reading
Custom API Callin the Workfront guide.