Issue with faction api | API Development | TORN

Issue with faction api

    • Ixw [3143585]
    • Role: Civilian
    • Level: 19
    • Posts: 33
    • Karma: 3
    • Last Action: 3 months
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 01:55:48 - 03/02/24 (7 months ago)
    |
    Last replied 15:57:34 - 03/02/24 (7 months ago)
    So i am using my faction id with a limited access token to try to query for all information as documentation example for all selections, however for limited selections i cant get the info resulting in error code 7 however i thought i would be able to see these since i am in the faction and i can see the things within torn itself. Would i have to be the faction leader, or perhaps have some permissions given to me from the leader to see these queries?
    • Ixw [3143585]
    • Role: Civilian
    • Level: 19
    • Posts: 33
    • Karma: 3
    • Last Action: 3 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:08:46 - 03/02/24 (7 months ago)
    Post link copied to clipboard Copy post link
    same issue with the company api as well with fun added incorrect id error
    • Ixw [3143585]
    • Role: Civilian
    • Level: 19
    • Posts: 33
    • Karma: 3
    • Last Action: 3 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:13:01 - 03/02/24 (7 months ago)
    Post link copied to clipboard Copy post link

    Ixw [3143585]

    same issue with the company api as well with fun added incorrect id error
    okay the ones with error 7 are only available to directors for the company i believe
    • Ixw [3143585]
    • Role: Civilian
    • Level: 19
    • Posts: 33
    • Karma: 3
    • Last Action: 3 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:16:37 - 03/02/24 (7 months ago)
    Post link copied to clipboard Copy post link

    Ixw [3143585]

    same issue with the company api as well with fun added incorrect id error

    Ixw [3143585]

    okay the ones with error 7 are only available to directors for the company i believe
    for error 6 aka incorrect id im not sure what id it requires for even when it is option i get that error
    • Ixw [3143585]
    • Role: Civilian
    • Level: 19
    • Posts: 33
    • Karma: 3
    • Last Action: 3 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:17:57 - 03/02/24 (7 months ago)
    Post link copied to clipboard Copy post link

    Ixw [3143585]

    same issue with the company api as well with fun added incorrect id error

    Ixw [3143585]

    okay the ones with error 7 are only available to directors for the company i believe

    Ixw [3143585]

    for error 6 aka incorrect id im not sure what id it requires for even when it is option i get that error
    i get error 6 for companies and profile
    • Ixw [3143585]
    • Role: Civilian
    • Level: 19
    • Posts: 33
    • Karma: 3
    • Last Action: 3 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:50:20 - 03/02/24 (7 months ago)
    Post link copied to clipboard Copy post link
    okay i sorted it just had a find replace issue for one in the ide and for the other specifically companies had to add in a check for the companies query to then change the id to use company type. This thread can be deleted unless it may be helpful to others
    • Omanpx [1906686]
    • Role: Civilian
    • Level: 100
    • Posts: 1,932
    • Karma: 11,339
    • Last Action: 24 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 07:15:50 - 03/02/24 (7 months ago)
    Post link copied to clipboard Copy post link
    For faction, you would need faction api access permission for your role.

    Toolbox - a collection of my tools and spreadsheets made for Torn.

    Guidebook - a collection of guides i made for Torn.

    • Ixw [3143585]
    • Role: Civilian
    • Level: 19
    • Posts: 33
    • Karma: 3
    • Last Action: 3 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:57:34 - 03/02/24 (7 months ago)
    Post link copied to clipboard Copy post link

    Omanpx [1906686]

    For faction, you would need faction api access permission for your role.
    yea i saw that in the docs after asking this thanks
Reply
Thread Title: