Upload image from a link
Options
![Gregory](https://us.v-cdn.net/6037124/user_avatars/2278164.jpg)
Gregory
Member ✭
Hi ,
I just have a problem to create an image in Xano from external API :
I make a get and i have this response :
[Capture d’écran 2022-01-11 à 11.45.14.png][Capture d’écran 2022-01-11 à 11.45.48.png]
I understand in tutorial , i have to make a get file resource data , and after create an image ?
I try lot of combinaison but i have an error all the time.
Whoops! An error occurred.
Exception: Jose\Component\Encryption\Serializer\CompactSerializer::unserialize(): Argument #1 ($input) must be of type string, array given, called in /xano/bin/includes/xano/context/JWE.php on line 102
Or
Whoops! An error occurred.
Exception: Unsupported input
This is an example of Url here :
https://res-1.cloudinary.com/bookingsync/image/upload/c_fill,f_auto,fl_progressive,g_center,h_1600,q_auto,w_2400/v1511792402/GWNH1120_12yi_a6slmo.jpg
Thanks for your help !
I just have a problem to create an image in Xano from external API :
I make a get and i have this response :
[Capture d’écran 2022-01-11 à 11.45.14.png][Capture d’écran 2022-01-11 à 11.45.48.png]
I understand in tutorial , i have to make a get file resource data , and after create an image ?
I try lot of combinaison but i have an error all the time.
Whoops! An error occurred.
Exception: Jose\Component\Encryption\Serializer\CompactSerializer::unserialize(): Argument #1 ($input) must be of type string, array given, called in /xano/bin/includes/xano/context/JWE.php on line 102
Or
Whoops! An error occurred.
Exception: Unsupported input
This is an example of Url here :
https://res-1.cloudinary.com/bookingsync/image/upload/c_fill,f_auto,fl_progressive,g_center,h_1600,q_auto,w_2400/v1511792402/GWNH1120_12yi_a6slmo.jpg
Thanks for your help !
Comments
-
You would need to use Create File Resource then Create Image Metadata in this case.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback