ratty-blushβ’2y ago
Screenshot Actor on GPT
Hi π I get the following error on the screenshot generator on a GPT. It worked once now hasnt worked since. Any ideas? Thanks

23 Replies
ratty-blushOPβ’2y ago
plus it says in Apify they were successful

flat-fuchsiaβ’2y ago
Hi @Kyle Behrend, you may try an alternative actor - https://console.apify.com/view/runs/c1cKUjg2XdjDch9ON
ratty-blushOPβ’2y ago
still get error

flat-fuchsiaβ’2y ago
In this case, I think you didn't provide valid file output type. See this field on the input JSON -
"output_type": "png",
Can you try running using these options:
ratty-blushOPβ’2y ago
thanks for the reply π Sorry where do I put this?
flat-fuchsiaβ’2y ago
Here -

ratty-blushOPβ’2y ago
thanks so I added that in the JSON then copied the new OpenAI code to the GPT but still getting an error
ratty-blushOPβ’2y ago

flat-fuchsiaβ’2y ago
The problem seems to be with the GPT process, not the screenshot actor itself. Can you check if the actor actually throws any error?
Also, is there a way you can simply make a regular HTTP call (not via GPT)?
ratty-blushOPβ’2y ago
yeah it seems to work on apify but through the GPT it doesnt... thats the problem. I am trying to build something for the competition π
flat-fuchsiaβ’2y ago
Can you please explain what your use case is - how you intend to integrate the screenshot actor and GPT? Perhaps via DM? Maybe I may be able to help π
Are you trying to make the HTTP request via GPT?
ratty-blushOPβ’2y ago
thanks so much! So I want a user to enter a url of a donation page for their non profit, use this screenshot and have vision analyse the page to create suggestions for how it can be improved to get more donations
@Kyle Behrend just advanced to level 2! Thanks for your contributions! π
flat-fuchsiaβ’2y ago
Hmm, that's an interesting idea π€
How about this flow:
- Build the GPT prompt to accept the site URL
- Instead of making the HTTP call to the screenshot actor directly via GPT, make the call using a different HTTP client e.g., axios, curl, etc.
- When you receive the response (which should include the image URL), feed GPT with the image URL so that it can use vision to analyse and improve the page.
ratty-blushOPβ’2y ago
Yeah want to use apify for the competition π
It worked once thatβs the frustrating thing lol
Then it just stopped
flat-fuchsiaβ’2y ago
Okay, I get π
So what actors are you using for this (aside the GPT and screenshot actors of course)? Or you are building a custom actor that integrates with two mentioned actors?
ratty-blushOPβ’2y ago
Nope thatβs it just one actor to get the screenshot
flat-fuchsiaβ’2y ago
Okay. Is it possible to wire the integration via Zapier or Make? π
Or you solely want everything to run on the Apify platform?
ratty-blushOPβ’2y ago
Apify for the competition Hahahha
flat-fuchsiaβ’2y ago
Hmmm, tough nut to crack. I wish I could help any further with this buddy π Good luck πͺ
ratty-blushOPβ’2y ago
thanks so much!! π Hopefully someone knows why its failing
ratty-blushOPβ’2y ago
I think I found the problem - it says it only has 45 seconds otherwise it times out. One worked at under 45 seconds the rest failed..... hmmm now to figure out what I can do about this lol

flat-fuchsiaβ’2y ago
Hahaha, I see. That makes sense π