Error - Test Class generation using Agentforce

16 views
Skip to first unread message

Ravi Ponnada

unread,
Apr 30, 2025, 11:19:08 AMApr 30
to Illuminated Cloud Q&A
Hi,

I am getting this error when I try to generate test class using agentforce for developers via Generate->Test 

// Status code 502 returned trying to retrieve 'https://api.salesforce.com/einstein/gpt/code/v1-alpha.1/generations': Bad Gateway

I am able to use agent force for developers from the side panel.

Anyone else seeing this issue ?

Thanks!!

Scott

unread,
Apr 30, 2025, 11:25:05 AMApr 30
to Illuminated Cloud Q&A, rspo...@gmail.com
I see the same thing. It looks like something has changed with the API since the other day when this was working just fine. Not surprising as inline autocompletion was also broken for a few days. It seems like things are in flux right now. I'll see what's changed in the expected request and try to have a fix in place for tomorrow's build if it's something simple enough to address. Thanks for bringing this to my attention.

Regards,
Scott Wells

Scott

unread,
Apr 30, 2025, 12:46:04 PMApr 30
to Illuminated Cloud Q&A, Scott, rspo...@gmail.com
I've confirmed that the API used for unit test generation has changed and have updated IC to use the newer API. This fix will be included in tomorrow's build (pending additional testing).

Regards,
Scott Wells
Reply all
Reply to author
Forward
0 new messages