Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Raheel |
For one of my HTTP requests, I’m getting the error “Unconfigured”. Since this is all the information I have to work with, I’m having a hard time figuring out what I’m doing wrong. The documentation doesn’t elaborate on each of the errors, and I’m unaware if there are other resources. And being new to Godot, I’m unaware of other ways to debug the issue.
I have been able to create other HTTP requests that work fine.
Following is a snippet of what the request looks like:
HttpRequest request = new HTTPRequest();
request.RequestRaw(url, headers, true, HTTPClient.Method.Get);
I think this means it needs adding to a parent node.
SteveSmith | 2022-10-08 17:40
Thank you. Yes, shortly after posting this I found out that I hadn’t done that. The following addition fixed the issue.
AddChild(request)
Raheel | 2022-10-08 20:47