![]() |
ChatGPT 6/20/2025 |
The error "Variable already has non array value" suggests that the code is attempting to assign a value to a variable that is expected to be an array, but it already contains a non-array value. This typically occurs when the application is trying to handle the response from the REST API incorrectly. Here are some steps you can take to troubleshoot and potentially resolve this issue:
By following these steps, you should be able to pinpoint the issue causing the error and implement a solution to properly handle the single record retrieval from your REST API. |
R
|
rawales2 author 6/20/2025 |
Never mind... the other view that I thought was working for the single is not. I am very confused. |
R
|
rawales2 author 6/23/2025 |
So, what I learned is that ASP Runner NET expects an array back from a rest api and not just an object for a single so I had to wrap my single api call with brackets. Once I did that it worked. |