Forum Discussion
jamescosten
May 20, 2024Brass Contributor
API cant find my list
I keep getting the below error when trying to use the API. The list exists. What Am i doing wrong? Im trying to follw a guide on how to export the Image columns to a word template...
ArefHalmstrand
Steel Contributor
Hello,
Please navigate to the list and look at the internal name in the URL.
When you create a list, the first name/title you write will be the internal name. If you rename the list in the future, the internal name will still remain the same.
Try to see if the internal name is different and call the API with the internal name instead.
If this was helpful, please vote as best reply! 🙂
Please navigate to the list and look at the internal name in the URL.
When you create a list, the first name/title you write will be the internal name. If you rename the list in the future, the internal name will still remain the same.
Try to see if the internal name is different and call the API with the internal name instead.
If this was helpful, please vote as best reply! 🙂
KotiReddy
May 21, 2024Brass Contributor
I agree with ArefHalmstrand use internal name.
Or
You can use guid : _api/web/lists(guid'{list_guid}')
Or
You can use guid : _api/web/lists(guid'{list_guid}')
- jamescostenMay 21, 2024Brass ContributorThe GUID ID, How do i sue it?
/_api/web/lists(guid'%7BWTRF_Database%7D') - Shows nothing?- ArefHalmstrandMay 21, 2024Steel ContributorIf you access List settings, you will see the GUID in the URL. 🙂
- ArefHalmstrandMay 21, 2024Steel ContributorAnother question, is the list really on the root site?