web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error when trying to r...
Power Apps
Unanswered

Error when trying to retrieve data from network: Sql error: Generic SQL error.CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 207

(0) ShareShare
ReportReport
Posted on by 433

Hello Everyone,

 

I see the following error when trying to retrieve a specific column. 

 

"Error when trying to retrieve data from network: Sql error: Generic SQL error.CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 207"

 

Never seen this error before and I'm not using any sql connections. I'm using data verse as backend and nothing else. Tried the below code to load a specific record from table

 

Set(VarRec, LookUp(TableName,ID = "5")) and when I see the global variable I see only unique id of the list and ID of the request. Sometimes I see "?" question mark instead of data.

 

Can anyone please help? Thank you so much in advance!

Categories:
I have the same question (0)
  • VishalJhaveri Profile Picture
    1,169 Moderator on at

    As a heavily experienced person in Power Apps, I can surely say that, if you close and reopen the app after sometime or remove and readd the connection once, this error might no more be troubling you.

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @KrishR 

     

    did it work in the past and just started to act up?

    Can it maybe be a permission issue?

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    The ID field is a number, but in your code you are trying to use a text value of "5" instead of the number 5.

     

    Set(VarRec, LookUp(TableName,ID = 5))
  • KrishR Profile Picture
    433 on at

    @iAm_ManCat @mmbr1606 @VishalJhaveri ,

     

    Thank you so much for all your help.

     

    Tried closing the app for some hours and did reconnect as suggested.

     

    yes, it is working fine before.

     

    Tried the code with Value(5), Text(5), "5". Record pulled but the fields value was blank. I see only GUID value of the list value and the ID of the list (ID is autonumber)

     

    Set(Varrec, LookUp(TableName,ID=5))

     

    Permissions were fine, its still in development and I'm the only one owner on the app.

     

    Thank you so much again!

  • VishalJhaveri Profile Picture
    1,169 Moderator on at

    Please mark my answer as solution if it helped you.

  • KrishR Profile Picture
    433 on at

    Hi @VishalJhaveri ,

     

    I tried but that didn't help either. Thank you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard