You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2021/12/15 21:55:22 UTC

[GitHub] [openwhisk-client-js] purplecabbage opened a new issue #230: service requests modify query string with every retry

purplecabbage opened a new issue #230:
URL: https://github.com/apache/openwhisk-client-js/issues/230


   This was also reported here: https://github.com/adobe/aio-cli-plugin-app/issues/504
   The issue is that `client.js:rp` ( request promise wrapper) builds a query string and modifies the object reference url, so on every retry it gets longer..
   
   `/api/v1/namespaces/ns/actions/pkg/action?overwrite=true`
   `/api/v1/namespaces/ns/actions/pkg/action?overwrite=true?overwrite=true`
   `/api/v1/namespaces/ns/actions/pkg/action?overwrite=true?overwrite=true?overwrite=true`
   
   ```
   OpenWhiskError: PUT host/api/v1/namespaces/ns/actions/pkg/action?overwrite=true?overwrite=true?overwrite=true Returned HTTP 400 (Bad Request) --> "The query parameter 'overwrite' was malformed:
   'true?overwrite=true?overwrite=true' is not a valid Boolean value"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-client-js] selfxp closed issue #230: service requests modify query string with every retry

Posted by GitBox <gi...@apache.org>.
selfxp closed issue #230:
URL: https://github.com/apache/openwhisk-client-js/issues/230


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org