{"code":"bad-request","message":"Failed to parse request body: Missing required property 'queryType'","details":[{"field":"queryType","message":"Missing required property"}]}
This is happening on a data action we’re using to pull user details in an Architect flow - specifically, the ‘Get User’ action. It was working fine last week. The API endpoint it’s hitting is /api/v2/users/{userId}.
We’re building the URL within the data action script, and the userId is passed in dynamically from the interaction. I checked the payload being sent, and it seems fine - the userId is resolving correctly. Saw a similar issue a while back in the community, someone mentioned checking the data action’s expected response format - that didn’t help. The script is Node.js, latest version available in the platform. It’s not a permissions issue, the user account associated with the data action has the necessary roles.