GraphQL API Error Message and Webhooks Enhancements 2020-03-06
Release
Author:
Fluent Commerce
Changed on:
22 Mar 2024
| Target release date: | 2020-03-06 |
|---|---|
| Release status: | Released |
Description
Webhooks Enhancement
- Issue: Whenever a custom webhook failed and was retried by the platform, the payload of the webhook was lost. As a result. the servicing URL did not receive the information for processing. To fix this, the client had to create incident tickets.
- The issue is fixed. The payload of the custom webhook is not lost when it is resent by the platform.
Enhancements in GraphQL API error message
- Issue: The error messages displayed by the GraphQL API when the character limit entered by the user in the input field exceeded the allowed limit, were unclear.
- Solution: An appropriate error code and message is displayed when the input contains field values that exceed the allowed character limit. The error code is C0141E which conveys the following information:
- C represents the origin of the problem
- 0141 represents the type of problem
- E represents the class of the problem
- Issue: When the GraphQL API received a query containing variables that weren't passed as part of the variables dictionary, an unclear error message was sent by the API.
- The issue is fixed. The API responds with an appropriate error code (C0140E) and message. The query is successfully executed if the variable is optional.
Changelog
Details as listed above.
| Released capability depth: | Enhancement |
|---|---|
| Release bundle / Capability type: | Platform |