title: Can't implement Twilio OTP verification (Application was not found)
body: <p>First of all, Here's what I have done,</p>
  
  <ol>
  <li>I started with <a href="https://www.twilio.com/docs/guides/twilio-verification-sdk-integration-guide" rel="nofollow noreferrer">this</a> guide, and deployed my sample backend using one click on heroku server(as mentioned in docs). then I added gradel dependencies and rest of the code as mentioned in docs.</li>
  </ol>
  
  <p>here's my initTokenService</p>
  
  <pre><code>private void initTokenServerApi() {
      String TOKEN_SERVER_URL = "https://pixelolio.herokuapp.com/";
      Retrofit retrofit = new Retrofit.Builder()
              .addConverterFactory(GsonConverterFactory.create())
              .baseUrl(TOKEN_SERVER_URL)
              .build();
      tokenServerApi = retrofit.create(Api.class);
  }
  </code></pre>
  
  <p>here's my tokenServerApi Callback</p>
  
  <pre><code>tokenServerApi
                      .getToken(numberToVerify)
                      .enqueue(new Callback&lt;TokenServerResponse&gt;() {
  
                          @Override
                          public void onResponse(Call&lt;TokenServerResponse&gt; call,
                                                 Response&lt;TokenServerResponse&gt; response) {
                              Log.e("response", String.valueOf(response.body().getJwtToken()));
                              String jwtToken = response.body().getJwtToken();
                              twilioVerification.startVerification(jwtToken, Via.SMS);
                          }
  
                          @Override
                          public void onFailure(Call&lt;TokenServerResponse&gt; call, Throwable t) {
  
  
                          }
                      });
  </code></pre>
  
  <p>here's MyVerificationReceiver</p>
  
  <pre><code>public class MyVerificationReceiver extends BroadcastReceiver {
      @Override
      public void onReceive(Context context, Intent intent) {
          VerificationStatus verificationStatus = TwilioVerification.getVerificationStatus(intent);
          Log.e("verified", String.valueOf(verificationStatus.getVerificationException()));
          Log.e("verified", String.valueOf(verificationStatus.getState()));
      }
  }
  </code></pre>
  
  <p>here's my TokenServerApi </p>
  
  <pre><code>  public interface TokenServerApi {
  
      @POST("/verify/token")
      @FormUrlEncoded
      Call&lt;TokenServerResponse&gt; getToken(@Field("phone_number") String phoneNumber);
  
  }
  </code></pre>
  
  <p>if I run my app at this stage than I can generate JWT successfully. But I am getting getting "Application was not valid" when I log  "verificationStatus.getVerificationException();"</p>
  
  <ol start="2">
  <li><p>I implemented 2nd step. <strong>Now here is my question , do I need to create my backend from scratch or I can use <a href="https://github.com/authy/authy-sdk-backend/" rel="nofollow noreferrer">this</a>. as it also has an option to deploy on heroku?</strong></p></li>
  <li><p>I have registered my application successfully in Twilio Verification API.</p></li>
  </ol>
  
  <p>I run my app after completing 3rd step but still getting same error.</p>