You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: After successfully running gwa status, when I run gwa pg --dry-run on this config file generated from an OpenAPI spec, I get the error "x Error [400] Unexpected undefined".
Our client had the GWA_NAMESPACE value capitalized in their .env file. The request succeeded when changed to all lower-case (ie: payment instead of Payment).
The authz check should have detected this, however the map_res_name_to_id function succeeded even though there was a case-sensitive difference.
This issue was brought to our attention in our rocket.chat channel:
https://chat.developer.gov.bc.ca/channel/aps-ops?msg=vTnsP434K6uJSWhX9
Issue: After successfully running gwa status, when I run gwa pg --dry-run on this config file generated from an OpenAPI spec, I get the error "x Error [400] Unexpected undefined".
Our client had the GWA_NAMESPACE value capitalized in their .env file. The request succeeded when changed to all lower-case (ie: payment instead of Payment).
The authz check should have detected this, however the map_res_name_to_id function succeeded even though there was a case-sensitive difference.
Possible resolution might be including the exactName=true param to the query
The text was updated successfully, but these errors were encountered: