Skip to content

Forum in maintenance, we will back soon 🙂

API is working well...
 
Notifications
Clear all

API is working well, giving a result of 200, but the result displayed failed to fetch suggestions

12 Posts
4 Users
0 Reactions
387 Views
(@calvin-komdjeu)
Posts: 6
Active Member Customer
Topic starter
 
Hi Hasan, 
 
I have been following the process of making my first API test with you, using ChatGPT. The API is working well, giving a result of 200, but the result displayed failed to fetch suggestions. Please take a look at the attached images.
 

Capture api result call.JPG

Capture api url.JPG
For the Github, 
 
I created a repository choosed a file path added in in my github deskapp puplush it, now it can be find it in my github dashboard account. In the process of naming the summary "first puch", the commit to main button is not attivating so from here it is diffilcult to continue with my training.
 
Capture github1.JPGCapture github2.JPG
Capture github3.JPG
 
Posted : 10/23/2023 4:23 pm
(@husein)
Posts: 464
Member Moderator
 

Hello friend, the images you attached arent opening. Please can you reattach them or share the github link for your code.

 
Posted : 10/24/2023 10:33 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@calvin-komdjeu did you use the Attach Files or the Drag and Drop feature for your images? Also make sure they are smaller than the 128MB limit.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 10/24/2023 1:32 pm
(@calvin-komdjeu)
Posts: 6
Active Member Customer
Topic starter
 

@ssadvisor I did drag and drop

 
Posted : 10/24/2023 4:18 pm
(@calvin-komdjeu)
Posts: 6
Active Member Customer
Topic starter
 
Capture github3

@husein-aboul-hasan

Capture api url
CaptureAPI
Capture github1
Capture api result call
Capture github2
This post was modified 11 months ago by Calvin Komdjeu
 
Posted : 10/24/2023 4:23 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@calvin-komdjeu You've not committed any code to the Github repository. Let me assume that you have a file called app.py. You need to first "add" app.py to the local repository queue, then you "commit" the change (the added file) to the local repository and finally you push the local change to the Github repository.

I don't use a GUI for my use of git so I can't help you beyond what I've started with the GUI but I would do this in the console:

git add app.py
git commit -m "Initial commit"
git push

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 10/25/2023 3:32 pm
(@calvin-komdjeu)
Posts: 6
Active Member Customer
Topic starter
 

@ssadvisor I did, just that when I create Github repository choose the file just as per the training, it doesn't appear there.

I even downloaded the code Hasan share with us, follow the same process and still getting the same wrong result.

I am not advancing with the course because of that.

 

 
Posted : 10/26/2023 9:48 am
(@calvin-komdjeu)
Posts: 6
Active Member Customer
Topic starter
 

@husein-aboul-hasan Hi I did not hear from you since after sending the images.

Kindly answer me for help. Thank you.

 
Posted : 10/26/2023 9:51 am
Hasan Aboul Hasan
(@admin)
Posts: 1208
Member Admin
 

Please share your code to see why the API is not working.

GitHub, please make sure you are in the same folder of the repository.

 
Posted : 10/26/2023 10:07 am
(@calvin-komdjeu)
Posts: 6
Active Member Customer
Topic starter
 

@admin should I copy and paste the code here or send it via Email?

 
Posted : 10/26/2023 11:06 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@calvin-komdjeu use the code icon above (<>) to share a paste of the code. If you want some 1-on-1 time I do offer that, my calendar link is in my signature.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 10/26/2023 12:48 pm
Hasan Aboul Hasan
(@admin)
Posts: 1208
Member Admin
 

@calvin-komdjeu share here please.

 
Posted : 10/29/2023 9:13 am
Share: