Session-5 | Send custom error message | Raise Fault Policy | Apigee Edge Tutorial For Beginners

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • Session-5 | Send custom error message | Raise Fault | Apigee Edge Tutorial For Beginners
    Session-4 | Verify Access Token | Apigee Edge Tutorial For Beginners
    Link: • Session-4 | Verify Acc...
    Session-3 | Generate Access Token using Client Credentials Grant Type | Apigee Edge Tutorial/Course For Beginners
    Link: • Session-3 | Generate A...
    Session-2: Apigee Courses/Tutorial For Beginners | Session-2 | Create First & Simple Apigee Edge API Proxy
    Link: www.youtube.co....
    Session-1: Apigee Edge Course For Beginners | An Introduction to Apigee Edge | An Introduction to APIs
    Link: www.youtube.co....

Комментарии • 18

  • @anilmekala05
    @anilmekala05 4 года назад

    Hi , I am trying implement the same example. Even verify access token policy returns result is true getting invalid access token . Please check and let me know.

  • @vennalasuravarapu966
    @vennalasuravarapu966 3 года назад

    Hi i tried it but whenevr my Result = true that time also i am getting the same message it shouldnt ryt i should get hello guest response instead of error message when my result is true. SO How can we add that condition on our code so it skip the RF-authorization step whenever the result= true.

  • @anilmekala05
    @anilmekala05 4 года назад +1

    Hi ,
    The below condition is not working if the result = true and its returning invalid token error message.
    RaiseFault-1
    result = false OR result = "" OR result = null

    • @vndtechlearn8370
      @vndtechlearn8370  4 года назад

      Hi AnilMekala, I would need your complete API proxy to debug and provide you the root cause.

    • @anilmekala05
      @anilmekala05 4 года назад

      @@vndtechlearn8370, please share you e-mail I'd send the proxy to you.

    • @vndtechlearn8370
      @vndtechlearn8370  4 года назад

      @@anilmekala05 vndtechlearn@gmail.com

    • @anilmekala05
      @anilmekala05 4 года назад

      @@vndtechlearn8370 can you pass valid token and enhance your video tutorial pls.

    • @beltek01
      @beltek01 4 года назад

      I think the result property wont work. Its a local property and will be destroyed when policy execution terminates. we probably need FaultRules and use fault.name. Will try and let u know

  • @mathewskb
    @mathewskb 4 года назад

    same for me as well like anilmekala05. verify token result is true - but issue with raise fault. result......

    • @vndtechlearn8370
      @vndtechlearn8370  4 года назад +1

      Hello Mathews can you share the complete api proxy which you have implemented, i will check and let you know the root cause.

    • @mathewskb
      @mathewskb 4 года назад

      ​@@vndtechlearn8370 - I have sent you the details to vndtechlearn@gmail.com. Please have a look and advise me what i missed. Thanks in Advance. Have a nice day ahead :)

    • @mathewskb
      @mathewskb 4 года назад

      @@vndtechlearn8370 : Have you get a chance to look into my proxies which i sent last week.