• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Loss of formatting in code

Everytime I open up one of my workflows that contains Pabbly Code (Python) it looses the indentations required and you have to re-insert code from a code editor and then you have to re-enter all of the variables. Is there a fix to this?
 

martexx

Member
I have exactly the same, the editor removes the indents after saving, so when u reopen and test it wont work.
blabla
if this is true
then this works
else
thiswouldwork

becomes
blabla
if this is true
then this works
else
thiswouldwork

and that doesnt get accepted. I am on chrome
 

ArshilAhmad

Moderator
Staff member
I have exactly the same, the editor removes the indents after saving, so when u reopen and test it wont work.
blabla
if this is true
then this works
else
thiswouldwork

becomes
blabla
if this is true
then this works
else
thiswouldwork

and that doesnt get accepted. I am on chrome
Could you please create a short screen recording to demonstrate this issue? Also, share the Workflow URL where you have this concern.
 

ArshilAhmad

Moderator
Staff member
please note that its about step 8 for python and step 9 for api

step 8:
Please allow me some time to discuss this issue with my team. We will get back to you with an update soon.

step 9 the error is now different, dont know why
Could you please share the API documentation and cURL command of the endpoint you are attempting to execute?
 

martexx

Member
curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' --header 'apiKey: xxxxx' -F EntityID=f8133f32-fcef-4085-94fa-2185c0c02dd8 'https://private.ms:31527/ExternalApi/api/CrewingDocumentsContent/UploadFile'

I am struggling for a long time to get it to work.
I would like to download a file from my server v ia a dynamic url, but pabbly for some reason can not download it.
So i tgired via upload to google drive first, and dropbox, that worked sometimes.
So now i sent it via email to pabbly, its way more stable, after i have the file url i need to upload it via this api, but via api module i cant get it to work, probably my lack of understanding, so a buddy wrote the pythin for me that worked, but not always, and the ident formatting issue makes it less usable.

But i am new here, so probably my bad :)
 

martexx

Member
i i did not understand this from any documentation:
So thats what i use to work with file uploads?
maybe someone can make that into a pabbly integration so people like me can use it as well
 

ArshilAhmad

Moderator
Staff member
Please allow me some time to discuss this issue with my team. We will get back to you with an update soon.
I had a discussion with the technical team, and they informed me that the indents might break during setup but will work correctly during automation. Currently, it is not possible to maintain the indents during workflow setup, so you will need to add them again while editing the code.

curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' --header 'apiKey: xxxxx' -F EntityID=f8133f32-fcef-4085-94fa-2185c0c02dd8 'https://private.ms:31527/ExternalApi/api/CrewingDocumentsContent/UploadFile'
Thank you for sharing the cURL command. However, it seems to be incomplete and does not indicate where the file URL should be placed. Please try executing this endpoint in Postman. If you successfully execute the endpoint in Postman, copy the cURL from there and share it in this thread. We will then set up the endpoint on your behalf.

If you encounter any issues in Postman, please contact the support team of the application whose endpoint you are trying to execute. Ask them to demonstrate how to set it up in Postman. Once you have successfully executed it in Postman, share the cURL with us, and we will set up the endpoint for you in Pabbly Connect.
 
Top