# Gameflip API Bot Problem (HELP)

**URL:** <https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312>\
**Category:** Gameflip - Help & Bugs\
**Created:** [October 26, 2019, 10:31am UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312 "2019-10-26T10:31:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimplyLeet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/simplyleet/32/17464_2.png) [@SimplyLeet](https://forum.gameflip.com/u/SimplyLeet)\
**Post date:** [October 26, 2019, 10:31am UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/1 "2019-10-26T10:31:57Z")

</div>

My API Bot was fine until 2 days ago, and the issue seems to be coming from Gameflip because as soon as i run my API Bot, it can’t log into my Gameflip account, and the Bot says ‘’ Invalid Gameflip Login Credentials ‘’, so the issue seems to be coming from my Gameflip Account. Also, why am i getting a Gameflip OTP?

My Profile Code: ESEFZ1

Can a Mod or an Admin please inspect my account and find out the issue? I need this issue to be resolved as soon as possible.

@DarkKnight  
@MajorTom  
@DunnBiscuit

---

<div class="post-metadata">

**Author:** ![SimplyLeet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/simplyleet/32/17464_2.png) [@SimplyLeet](https://forum.gameflip.com/u/SimplyLeet)\
**Post date:** [October 26, 2019, 9:32pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/2 "2019-10-26T21:32:16Z")

</div>

I need all the help

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [October 26, 2019, 9:53pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/3 "2019-10-26T21:53:34Z")

</div>

Have you checked that both keys are correct?

---

<div class="post-metadata">

**Author:** ![SimplyLeet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/simplyleet/32/17464_2.png) [@SimplyLeet](https://forum.gameflip.com/u/SimplyLeet)\
**Post date:** [October 26, 2019, 10:38pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/4 "2019-10-26T22:38:59Z")

</div>

Yep i’ve double and triple checked, they’re both correct.

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [October 26, 2019, 10:42pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/5 "2019-10-26T22:42:31Z")

</div>

Could you try again, this time taking a screenshot?

---

<div class="post-metadata">

**Author:** ![SimplyLeet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/simplyleet/32/17464_2.png) [@SimplyLeet](https://forum.gameflip.com/u/SimplyLeet)\
**Post date:** [October 27, 2019, 12:11pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/6 "2019-10-27T12:11:56Z")

</div>

I woke up this morning and the Bot started to function normally. If i have issues again, i’ll report back here.

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [October 27, 2019, 12:14pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/7 "2019-10-27T12:14:36Z")

</div>

Alright, let me know if you have further issues. I will try to help.

---

<div class="post-metadata">

**Author:** ![DarkKnight](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/darkknight/32/10751_2.png) [@DarkKnight](https://forum.gameflip.com/u/DarkKnight)\
**Post date:** [October 30, 2019, 11:23pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/8 "2019-10-30T23:23:43Z")

</div>

Hey @SimplyLeet,

If you have anymore issues, please let us know 😉

* * *

Thanks for helping out @Aurora!

God Speed! 🔱

---

<div class="post-metadata">

**Author:** ![genuineskadi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/genuineskadi/32/11030_2.png) [@genuineskadi](https://forum.gameflip.com/u/genuineskadi)\
**Post date:** [November 7, 2019, 10:37pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/9 "2019-11-07T22:37:32Z")

</div>

Hello, Aurora! I am having issues with setting up Gameflip API bot. You seem like a person which understands it. I would be super happy if you were able to help me. If you want, i could give you some of my rocket league items (assuming you may like them since it’s on your avatar) like a little gift for your time or something. Feel free to reply and sorry for asking…

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [November 8, 2019, 7:22pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/10 "2019-11-08T19:22:32Z")

</div>

More than happy to help! Keep your items, happy to do this just as a favor 😃 Let me know what you need, I’ll try my best!

---

<div class="post-metadata">

**Author:** ![genuineskadi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/genuineskadi/32/11030_2.png) [@genuineskadi](https://forum.gameflip.com/u/genuineskadi)\
**Post date:** [November 8, 2019, 7:28pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/11 "2019-11-08T19:28:04Z")

</div>

Oh my god! That’s so nice of you! I am struggling with setting up API for being able to deliver TF2 items via bot trade. My main issue is i barely understand what i am required to do ;(

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [November 8, 2019, 7:29pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/12 "2019-11-08T19:29:39Z")

</div>

No problem! The question that helps the most, are you on mobile or pc?

---

<div class="post-metadata">

**Author:** ![genuineskadi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/genuineskadi/32/11030_2.png) [@genuineskadi](https://forum.gameflip.com/u/genuineskadi)\
**Post date:** [November 8, 2019, 7:32pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/13 "2019-11-08T19:32:14Z")

</div>

I got both, but of course i was trying to do that on PC. I installed required stuff like python, nodejs and git. Also downloaded sample code from github. I thought i need to edit that nodejs code inside, but i can’t even properly open it since it gives me an error…

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [November 8, 2019, 7:37pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/14 "2019-11-08T19:37:26Z")

</div>

Ok, this TF2 game is Team Fortress 2, right? Great! You already have all things installed that you need, and yes, PC will be the easier to use this. Make sure that you have already downloaded this, this is what you will use to make your listings firstly, Node J.S will post them for you: [https://github.com/gameflip/gfapi](https://github.com/gameflip/gfapi),  
src/samples is what you will be using mainly. Please respond when you have that done.

---

<div class="post-metadata">

**Author:** ![genuineskadi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/genuineskadi/32/11030_2.png) [@genuineskadi](https://forum.gameflip.com/u/genuineskadi)\
**Post date:** [November 8, 2019, 7:38pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/15 "2019-11-08T19:38:41Z")

</div>

I already had it downloaded, just unsure what to do with it. I think i have to put my API and Secret somewhere in that file

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [November 8, 2019, 7:42pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/16 "2019-11-08T19:42:36Z")

</div>

Great! To get your API keys, go to Gameflip \> Settings \> Develop, then press the button ‘Create API Key’, make sure you have a spare notepad open to copy these into, **do not** lose these. Once you have pressed the button, a pop-up will show, that is the Secret API key, the other API key is always there. Jot those 2 down and save them. Once you have done that, on a notepad, type this and save it:

SET GFAPI\_KEY=_Enter your API key_  
SET GFAPI\_SECRET=_Enter your Secret API Key_  
cd gfapi

Let me know when you have done this, and reply back if you need any help, then the next step.

---

<div class="post-metadata">

**Author:** ![genuineskadi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/genuineskadi/32/11030_2.png) [@genuineskadi](https://forum.gameflip.com/u/genuineskadi)\
**Post date:** [November 8, 2019, 7:43pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/17 "2019-11-08T19:43:45Z")

</div>

do i save that  
" SET GFAPI\_KEY= _Enter your API key_  
SET GFAPI\_SECRET= _Enter your Secret API Key_  
cd gfapi"  
In notepad replacing my API and Secret (alrdy have them)?

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [November 8, 2019, 7:44pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/18 "2019-11-08T19:44:26Z")

</div>

Yes, save that and keep it in a place that is easily accessible.

---

<div class="post-metadata">

**Author:** ![genuineskadi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/genuineskadi/32/11030_2.png) [@genuineskadi](https://forum.gameflip.com/u/genuineskadi)\
**Post date:** [November 8, 2019, 7:45pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/19 "2019-11-08T19:45:04Z")

</div>

Okay, done that

---

<div class="post-metadata">

**Author:** ![Aurora](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gameflip.com/aurora/32/12507_2.png) [@Aurora](https://forum.gameflip.com/u/Aurora)\
**Post date:** [November 8, 2019, 7:48pm UTC](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312/20 "2019-11-08T19:48:15Z")

</div>

Now, you will hopefully be creating your first listing using API! Open Node.js, leave that open, copy the text **SET GFAPI\_KEY= _Enter your API key_  
SET GFAPI\_SECRET= _Enter your Secret API Key_  
cd gfapi**  
Enter that into Node.js, and press enter. You should see something similar to this:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/gameflipapp/original/2X/e/e4ce05480ae5c2dfbf8e85a83899339bc3ed026e.png)

[Next page](https://forum.gameflip.com/t/gameflip-api-bot-problem-help/26312.md?page=2)
