{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • General
    • Edge/API Management
    • Developer Portal
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by Indrajeet Sen · Jan 08 at 05:25 AM · 28 Views apigeeservicecallouttarget path urlenvironment configuration404 not found

Service Callout returning 404 for dev environment

I'm making a request to an API through a service callout but it keeps returning 404.

Target url : https://{target_endpoint}/api/v1/test

where target_endpoint : usdevelopment.xyz.abc.com (dev environment)

The same request when made via POSTMAN or CURL returns the expected response.

Also, the above service callout works fine for stage and prod environments where target_endpoint : stage.abc.com and prod.abc.com

Comment
Add comment Show 5
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Siddharth Barahalikar   · Jan 08 at 05:47 AM 0
Link

Provide your Service Callout policy XML and Trace requests if possible.

avatar image Indrajeet Sen Siddharth Barahalikar · Jan 08 at 05:53 AM 0
Link
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout async="false" continueOnError="false" enabled="true" name="Callout-Auth-Server">
    <DisplayName>Callout-Auth-Server</DisplayName>
    <Properties/>
    <Request clearPayload="true" variable="ServiceRequest">
        <Set>
            <Headers>
                <Header name="Authorization">Bearer {request.header.AUTH_TOKEN}</Header>
            </Headers>
        </Set>
        <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
    </Request>
    <Response>ServiceResponse</Response>
    <HTTPTargetConnection>
        <URL>https://{target_endpoint}/api/v1/test</URL>
    </HTTPTargetConnection>
</ServiceCallout>

avatar image Siddharth Barahalikar Indrajeet Sen   · Jan 08 at 05:56 AM 0
Link

Did you find anything in Trace Session?

Show more comments

Close

1 Answer

· Add your answer
  • Sort: 
avatar image
1
Best Answer

Answer by Siddharth Barahalikar   · Jan 08 at 06:09 AM

Since you are getting this in only one environment, have a look at this doc,

https://community.apigee.com/questions/57372/we-are-getting-404-response-for-all-the-apis-in-a.html

If this is an APigee ENterprise CLoud, maybe raise a ticket in,

https://apigee.com/about/support/portal

If it is on-prem then check the files yourself or get in touch with your operations team.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 5 attachments (including images) can be used with a maximum of 5.0 MB each and 25.0 MB total.

Follow this Question

Answers Answers and Comments

59 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Constructing URL with query params in service callout 1 Answer

is there a page for updates on Apigee service or API availability , announcements, service bulletins? 1 Answer

how to create single proxy for multiple api2 controller 0 Answers

Apigee Edge - 4MV4D - SOAP - REST - Custom Logic 1 Answer

Not able to access "message.reason.phrase" value of service callout policy 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • General
  • Edge/API Management
  • Developer Portal
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges